package com.xmb.wechat.helper;

import com.xmb.wechat.common.Constant;
import com.xmb.wechat.entity.IntegerAndStringEntity;

import java.util.ArrayList;

/**
 * @Author lijiangop
 * @CreateTime 2020/5/26 10:26
 */
public class DataHelper {

    public static ArrayList getWgPLatformData() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(0, "淘宝"));
        result.add(new IntegerAndStringEntity(0, "天猫"));
        return result;
    }

    public static ArrayList getBillTypeData() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_ZDY, "自定义"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_WG, "网购"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_TX, "提现"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_HB, "红包"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_ZZ, "转账"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_SJCZ, "手机充值"));
        result.add(new IntegerAndStringEntity(Constant.AliPayBillType.TYPE_HBHK, "花呗还款"));
        return result;
    }

    public static ArrayList getTradeType() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(Constant.TradeHistoryType.TYPE_ZIDINGYI, "自定义"));
        result.add(new IntegerAndStringEntity(Constant.TradeHistoryType.TYPE_RED_PACKET, "红包"));
        result.add(new IntegerAndStringEntity(Constant.TradeHistoryType.TYPE_ZHUANZHANG, "转账"));
        result.add(new IntegerAndStringEntity(Constant.TradeHistoryType.TYPE_QRCODE, "二维码交易"));
        result.add(new IntegerAndStringEntity(Constant.TradeHistoryType.TYPE_CHANGE, "零钱提现/充值"));
        return result;
    }

    public static ArrayList getPayTypeData() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(0, "向商户付款"));
        result.add(new IntegerAndStringEntity(1, "向个人收款"));
        result.add(new IntegerAndStringEntity(2, "向个人转账"));
        return result;
    }

    public static ArrayList getPayProofTypeData() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(Constant.PayProofType.TYPE_WITHDRAW_START, "零钱提现发起"));
        result.add(new IntegerAndStringEntity(Constant.PayProofType.TYPE_WITHDRAW_FINISH, "零钱提现到账"));
        result.add(new IntegerAndStringEntity(Constant.PayProofType.TYPE_QRCODE_FINISH_NOTIFICATION, "二维码收款到账通知"));
        result.add(new IntegerAndStringEntity(Constant.PayProofType.TYPE_PAY_PROOF_GR, "支付凭证(个人)"));
        result.add(new IntegerAndStringEntity(Constant.PayProofType.TYPE_PAY_PROOF_SH, "支付凭证(商户)"));
        return result;
    }

    public static ArrayList getBillStateType() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(0, "进行中"));
        result.add(new IntegerAndStringEntity(1, "已完成"));
        result.add(new IntegerAndStringEntity(2, "已取消"));
        return result;
    }

    public static ArrayList getGatheringStateType() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(0, "等待对方付款"));
        result.add(new IntegerAndStringEntity(1, "交易成功"));
        return result;
    }

    public static ArrayList getTransferStateType() {
        ArrayList<IntegerAndStringEntity> result = new ArrayList<>();
        result.add(new IntegerAndStringEntity(0, "处理中"));
        result.add(new IntegerAndStringEntity(1, "交易成功"));
        return result;
    }
}
